package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * <p>
 * 微生物检验应用流程方案节点
 * </p>
 *
 * @author cfz
 * @since 2024-04-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BAC_TEST_FLOW_NODE", autoResultMap = true)
public class BacTestWorkFlowNode extends BaseEntity2 {

    private static final long serialVersionUID = 1L;

    /**
     * 标本号
     */
    @TableField("SAMPLE_NO")
    private String sampleNo;

    /**
     * 报告单元
     */
    @TableField("RPT_GROUP")
    private String rptGroup;

    /**
     * 检验日期
     */
    @TableField("SAMPLEDA")
    private Timestamp sampleda;

    /**
     * 流程节点编号
     */
    @TableField("TEST_FLOW_NO")
    private String testFlowNo;

    @TableField("REQ_NO")
    private String reqNo;

    @TableField("NODE_NO")
    private String nodeNo;

    /**
     * 流程节点编号
     */
    @TableField(exist = false)
    private String workFlowId;
    /**
     * 流程节点编号
     */
    @TableField(exist = false)
    private String workFlowNodeDictNo;

    /**
     * 流程节点名称
     */
    @TableField(exist = false)
    private String workFlowNodeDictNa;

    /**
     * 流程节点关联组件
     */
    @TableField(exist = false)
    private String nodeUrl;

    /**
     * 序号
     */
    @TableField("SEQ")
    private Integer seq;


    //字典信息
    @TableField(exist = false)
    private String nodeDictId;
    @TableField(exist = false)
    private String nodeTypeNo;
    @TableField(exist = false)
    private String nodeTypeNa;
    @TableField(exist = false)
    private String nodeDictCode;
    @TableField(exist = false)
    private String nodeDictName;
    @TableField(exist = false)
    private String displayFlag;
    @TableField(exist = false)
    private String displayColor;
    @TableField(exist = false)
    private String codePrefix;
    @TableField(exist = false)
    private String codeRuleNo;
    @TableField(exist = false)
    private BigDecimal isPrintLabel;
    @TableField(exist = false)
    private String labelTemplateNo;
    @TableField(exist = false)
    private String explain;
    @TableField(exist = false)
    private String pageName;
    @TableField(exist = false)
    private String operation;
    @TableField(exist = false)
    private Boolean isActive = false;
    @TableField(exist = false)
    private String pageCode;
    @TableField(exist = false)
    private String nodeDictSeq;
    /**
     * 是否需要补费
     */
    @TableField(exist = false)
    private Integer addFee;
    @TableField(exist = false)
    private String addFeeDesc;
}
